<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="renderer" content="webkit">
    <title>灵活的js</title>
    <script type="text/javascript" src="validate_class_anothor_proto_obj_link.js"></script>

</head>
<body>
<form action="#" method="post" onsubmit="checkForm()">
    <label for="name">姓名：</label><input type="text" id="name"/>
    <label for="email">邮箱：</label><input type="email" id="email"/>
    <label for="pwd">密码：</label><input type="password" id="pwd"/>
    <input type="submit" value="提交"/>
</form>
</body>
</html>